local current = redis.call('GET', KEYS[1])
if current == ARGV[1] then
    redis.call('SET', KEYS[1], ARGV[2])
    return true
else
    redis.call('SET', KEYS[1], ARGV[3])
    return true
end
